Platform Explorer / Nuxeo Platform 11.3

Component org.nuxeo.elasticsearch.defaultConfig

Requirements

Resolution Order

749
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.elasticsearch.defaultConfig">
  <require>org.nuxeo.elasticsearch.ElasticSearchComponent</require>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchEmbeddedServer">
    <elasticSearchEmbeddedServer clusterName="nuxeoCluster" nodeName="nuxeoNode"
      pathData="/var/lib/nuxeo/elasticsearch" pathLogs="/var/log/nuxeo/elasticsearch"
      httpEnabled="false" networkHost="127.0.0.1" />
  </extension>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchClient">
  <elasticSearchClient class="org.nuxeo.elasticsearch.client.ESTransportClientFactory">
    <option name="addressList"></option>
    <option name="clusterName">nuxeoCluster</option>
    <option name="clientTransportSniff">false</option>
    <option name="clientTransportIgnoreClusterName">false</option>
    <option name="clientTransportPingTimeout">5s</option>
    <option name="clientTransportNodesSamplerInterval">5s</option>
  </elasticSearchClient>
  </extension>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent"
    point="elasticSearchIndex">
    <elasticSearchIndex name="nuxeo" type="doc" repository="default">
      <fetchFromSource>
        <include>ecm:*</include>
        <include>dc:*</include>
        <exclude>ecm:binarytext</exclude>
      </fetchFromSource>
      <settings file="elasticsearch-doc-settings.json" />
      <mapping file="elasticsearch-doc-mapping.json" />
    </elasticSearchIndex>
  </extension>

</component>